using System.Configuration;
using System.Data.SqlClient;

namespace OOP33rdBatchApplication
{
    public class DbGateway    
    {
        protected SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["DepartmentConnectionString"].ConnectionString);
        protected SqlCommand command;
        public DbGateway()
        {
            command = new SqlCommand();
            command.Connection = connection;
        }
    }
}